package com.whimscrew.user.model;

import java.io.Serializable;

/**
 * 用户
 */
public class User implements Serializable {


    private static final long serialVersionUID = -1482164137465188684L;
    private String userName;
    private Integer age;

    private Dept dept;

    public User(){}

    public User(String userName, Integer age) {
        this.userName = userName;
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }


    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }
}
